package org.nf.shopping.mapper;

import org.apache.ibatis.annotations.Param;
import org.nf.shopping.entity.Son;

import java.util.List;

/**
 * @Author czl
 * @Date 2024-12-12
 */
public interface SonMapper {
    List<Son> listSon(@Param("pageSize") Integer pageSize,@Param("pageNum") Integer pageNum,@Param("name") String name);

    void updateSon(Son son);

    void deloneSon(Integer id);

    void addSon(Son son);

    List<Son> getSonList();
}
